home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / contour.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  1.1 KB  |  38 lines

  1. .TH CONTOUR
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. CONTOUR
  5.  
  6.  
  7.  
  8.  PolygonType CONTOUR( SurfaceType ContouredSrf, PlaneType ContourPlane )
  9.  
  10.  or
  11.  
  12.  PolygonType CONTOUR( SurfaceType ContouredSrf, PlaneType ContourPlane,
  13.                       SurfaceType MappedSrf )
  14.  
  15. Contours surface ContouredSrf by intersecting plane ContourPlane
  16. with a polygonal approximating of ContouredSrf with resolution set
  17. via variable RESOLUTION.
  18. If ContouredSrf is a scalar field surface of type E1 or P1 and
  19. MappedSrf is provided, ContouredSrf is contoured above its
  20. parametric domain (U is X, V is Y) and the resulting parametric curve
  21. is composed with MappedSrf to yield the returned value.
  22.  
  23. Example:
  24.  
  25.  resolution = 20;
  26.  nglass = snrmlsrf( glass ) * vector( 1, 1, 1 );
  27.  
  28.  sils = contour( nglass, plane( 1, 0, 0, 0 ), glass );
  29.  color( sils, cyan );
  30.  attrib( sils, "dwidth", 4 );
  31.  
  32.  view( list( axes, glass, sils ), on );
  33.  
  34. Computes the normal field of the surface glass, project it onto
  35. the viewing direction of (1, 1, 1) and contour the resulting scalar field
  36. with the plane X = 0, to extract the silhouette curves from viewing direction
  37. (1, 1, 1).
  38.